/*
 * Copyright (c) 2006, 2023, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

import java.io.IOException;
import java.time.Instant;
import java.time.LocalDateTime;
import java.time.ZoneOffset;

/**
 * <p>Project: jse2302 - T5
 * <p>Powered by webrx On 2023-06-29 17:57:24
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class T5 {
    public static void main(String[] args) throws IOException {
        Runtime run = Runtime.getRuntime();
        for (int i = 0; i < 10; i++) {

            //run.exec("cmd /k start http://www.baidu.com");
        }


        long t = LocalDateTime.now().toInstant(ZoneOffset.of("+08:00")).toEpochMilli();
        long t2 = Instant.now().toEpochMilli();
        System.out.println(t2);
        System.out.println(t);

        run.exec("cmd /k notepad D:\\0531\\javase\\jse2302\\ch11\\src\\main\\java\\cn\\webrx\\T5.java");
    }
}
